package com.hunttown.common.sharding.client.annotation;

public class Sharding {
    private String logicTableName = "logicTableName";
    private String shardField = "shardField";
    private String physicTableName = "physicTableName";
    private boolean itemInAllDataSources = false;
    private String dataSourceName = "dataSourceName";

    public Sharding() {
    }

    public String getLogicTableName() {
        return this.logicTableName;
    }

    public void setLogicTableName(String logicTableName) {
        this.logicTableName = logicTableName;
    }

    public String getShardField() {
        return this.shardField;
    }

    public void setShardField(String shardField) {
        this.shardField = shardField;
    }

    public String getPhysicTableName() {
        return this.physicTableName;
    }

    public void setPhysicTableName(String physicTableName) {
        this.physicTableName = physicTableName;
    }

    public boolean isItemInAllDataSources() {
        return this.itemInAllDataSources;
    }

    public void setItemInAllDataSources(boolean itemInAllDataSources) {
        this.itemInAllDataSources = itemInAllDataSources;
    }

    public String getDataSourceName() {
        return this.dataSourceName;
    }

    public void setDataSourceName(String dataSourceName) {
        this.dataSourceName = dataSourceName;
    }
}